package cn.earl.springboot.entity;

public class ResponseMessage<T> {
	private int code;
	private String message;
	private T object;
	
	public ResponseMessage(int code, String message){
		super();
		this.code = code;
		this.message = message;
	}

	public ResponseMessage(int code, String message, T object) {
		super();
		this.code = code;
		this.message = message;
		this.object = object;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public T getObject() {
		return object;
	}

	public void setObject(T object) {
		this.object = object;
	}

	public void setMessage(String message) {
		this.message = message;
	}

}
